//
//  SEGTarget_Visitor.m
//  SEGUhomePropertyBaseService
//
//  Created by JokerHe on 2018/3/27.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGTarget_Visitor.h"
#import "SEGVisitorAccessViewController.h"
#import "SEGVisitorAccessCodeViewController.h"
#import "SEGVisitorAccessDoorViewController.h"
#import "SEGVisitorAccessNumberViewController.h"
#import "SEGVisitorAccessHistoryViewController.h"
#import "SEGVisitorAccessCodeViewController.h"

@implementation SEGTarget_Visitor

/**
 * 访客通行 & 访客历史详情
 * @author Joker
 */
-(UIViewController *)segAction_initVisitorAccessViewController:(NSDictionary *)params {
    SEGVisitorAccessViewController *vc = [[SEGVisitorAccessViewController alloc] init];
    vc.model =  [params objectForKey:@"model"];
    return vc;
}

/**
 * 授权门禁
 * @author Joker
 */
-(UIViewController *)segAction_initVisitorAccessDoorViewController:(NSDictionary *)params {
    return [[SEGVisitorAccessDoorViewController alloc] init];
}

/**
 * 可用次数
 * @author Joker
 */
-(UIViewController *)segAction_initVisitorAccessNumberViewController:(NSDictionary *)params {
    return [[SEGVisitorAccessNumberViewController alloc] init];
}

/**
 * 访客历史
 * @author Joker
 */
-(UIViewController *)segAction_initVisitorAccessHistoryViewController:(NSDictionary *)params {
    return [[SEGVisitorAccessHistoryViewController alloc] init];
}

/**
 * 访客通行证
 * @author Joker
 */
-(UIViewController *)segAction_initVisitorAccessCodeViewController:(NSDictionary *)params {
    SEGVisitorAccessCodeViewController *vc = [[SEGVisitorAccessCodeViewController alloc] init];
    return vc;
}

@end
